package com.project.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Document(indexName = "j189_qkx_index")
@Data
public class QkxEntity {
    @Id
    @Field(type = FieldType.Keyword)//Keyword 不拆分
    private String id;
    @Field(type = FieldType.Keyword)
    private  String qkx_date;
    @Field(type = FieldType.Keyword)
    private String title;
    @Field(type = FieldType.Text)
    private String info ;
}
